package com.ruoyi.project.pro.picture.mapper;

import com.ruoyi.project.pro.picture.domain.ProPicture;

import java.util.List;

/**
 * @program: zhizun
 * @author: Mrs.ye
 * @create: 2020-09-19 09:51
 * @description: 产品图库的持久层
 **/
public interface ProPictureMapper {
    /**
     * 查看所有图片
     * @return 图片对象
     * @param
     */
    List<ProPicture> selectPicture();

    /**
     * 将图片加入收藏夹
     * @param pictureId
     * @return
     */
    int updateStatusById(String pictureId);


    ProPicture selectPictureById(Long pictureId);

    List<ProPicture> selectAllPicture();

    int insertPicture(ProPicture proPicture);

}
